import { get } from "../Uitils/request";

export const loadProductsAPI = (category = "") =>
  get("/api/v1/products", { category });
  
export const loadProductByIdAPI = (id) => get("/api/v1/products/" + id);



